<?php
require_once __DIR__."/vendor/autoload.php";
require_once __DIR__."/app/config/define.php"; //自定义配置
\Core\BeanFactory::init();//初始化Bean工厂
$dispatcher=\Core\BeanFactory::getBean("RouterCollector")->getDispatcher();